# Maintainer: Gaetan Bisson <bisson@archlinux.org>
# Contributor: Firmicus <francois.archlinux.org>
# Contributor: Damir Perisa <damir.perisa@bluewin.ch>

pkgname=ttf-khmer
_pkgname=All_KhmerOS
pkgver=5.0
pkgrel=7
pkgdesc='Fonts for Khmer and Latin alphabets'
# url='http://www.khmeros.info/en/fonts' # dead
url='https://sourceforge.net/projects/khmer/'
license=('LGPL')
arch=('any')
source=("https://downloads.sourceforge.net/project/khmer/Fonts%20-%20KhmerOS/KhmerOS%20Fonts%20${pkgver}-%20LGPL%20Licence/${_pkgname}_${pkgver}.zip")
sha256sums=('62fec2273016fb6e69b18635e696fd2c91953af9cbe757b341721aec2232432e')

package() {
	cd "${srcdir}/${_pkgname}_${pkgver}"
	install -dm755 "${pkgdir}"/usr/share/fonts/TTF
	install -m644 *.ttf "${pkgdir}/"usr/share/fonts/TTF/
}
